<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="header">
	<div class="name">
	<input id='actualReportName' type="hidden" value="<c:out value='${MY_REPORT_NAME_IN_THE_DB}' />" />
		<label class="nameLabel">Name</label><input id="myReportName" class="nameInput" type="text" name="myReportName" value="<c:out value='${MY_REPORT_NAME}' />" >
	</div>
    <div class="tab_content_header left">
		<div class="listHeader">
			<label>Reports</label>
		</div>
	</div>
    <div class="tab_content_header right"><label>Report Description</label></div>
</div>
<div class="cont">
    <div class="left">
        <div class="tab_content_body">
            <select id="reports" class="reportOption" name="reports" size="15" onchange="if ($.browser.msie){gotoSubmit(this.options[this.selectedIndex], 'reportDefinition');}">
                <c:forEach var="report" items="${ALL_JASPER_REPORTS}">
                <option <c:if test="${CURRENT_REPORT_ID == report.id}">selected</c:if> value="<c:out value='${report.id}'/>" onclick="javascript:gotoSubmit(this, 'reportDefinition');"><c:out value='${report.name}' /></option>
                    </c:forEach>    
            </select>
        </div>
    </div>
    <div class="right">
        <div id="report_description" class="textContainer ui-corner-all">
            <c:forEach var="report" items="${ALL_JASPER_REPORTS}"><c:if test="${CURRENT_REPORT_ID == report.id}">${report.description}</c:if></c:forEach><c:out value=""></c:out>
        </div>
    </div>
</div>
